import request from "@/utils/request";

// 企业详情列表数据

export function qyxqList(qyId) {
  return request({
    url: `/non-coal-mine-gov/d501/enterprise/${qyId}`,
    method: "get",
  });
}

export function jcsbList(qyId,num) {
  return request({
    url: `/non-coal-mine-gov/d501/device/details/list/?enterpriseInfoId=${qyId}&category=${num}`,
    method: "get",
  });
}

export function xcdxqList(qyId) {
  return request({
    url: `/non-coal-mine-gov/d501/point/details/list/?enterpriseInfoId=${qyId}`,
    method: "get",
  });
}


export function yhxxList(qyId,dangerStatus) {
  return request({
    url: `/non-coal-mine-gov/d501/hidden/details/list/?enterpriseInfoId=${qyId}&dangerStatus=${dangerStatus}`,
    method: "get",
  });
}


